package com.dtwave.wechat.service.provider.database.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Auther: liuwenxiang
 * @Date: 2018/12/17 19:42
 * @Description:
 */

@Data
@NoArgsConstructor
@TableName("bas_user")
public class UserEntity extends  BaseEntity {

    @TableId(value = "user_id", type = IdType.INPUT)
    private String userId;

    private String uuid;

    private String userName;

    private String loginName;

    private String passWord;

    private String department;

    private String position;

    private String gender;

    private Integer age;

    private String phone;

    private String mobile;

    private String email;

    private String userType;

    private Integer status;

    private String weixinStatus;

    private String weixinid;

    private String avatar;

    private String descr;

    private String cUserId;

    private String mUserId;

    public UserEntity setUserId(String userId){
        this.userId = userId;
        return this;
    }
    public UserEntity setUuid(String uuid){
        this.uuid = uuid;
        return this;
    }
    public UserEntity setUserName(String userName){
        this.userName = userName;
        return this;
    }
    public UserEntity setLoginName(String loginName){
        this.loginName = loginName;
        return this;
    }
    public UserEntity setPassWord(String passWord){
        this.passWord = passWord;
        return this;
    }


    public UserEntity setDepartment(String department) {
        this.department = department;
        return this;
    }

    public UserEntity setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public UserEntity setGender(String gender){
        this.gender = gender;
        return this;
    }
    public UserEntity setAge(Integer age){
        this.age = age;
        return this;
    }
    public UserEntity setPhone(String phone){
        this.phone = phone;
        return this;
    }
    public UserEntity setMobile(String mobile){
        this.mobile = mobile;
        return this;
    }
    public UserEntity setPosition(String position){
        this.position = position;
        return this;
    }
    public UserEntity setEmail(String email){
        this.email = email;
        return this;
    }
    public UserEntity setUserType(String userType){
        this.userType = userType;
        return this;
    }
    public UserEntity setdescr(String descr){
        this.descr = descr;
        return this;
    }
    public UserEntity setCUserId(String cUserId){
        this.cUserId = cUserId;
        return this;
    }
    public UserEntity setMUserId(String mUserId){
        this.mUserId = mUserId;
        return this;
    }

    public UserEntity setWeixinStatus(String weixinStatus){
        this.weixinStatus = weixinStatus;
        return this;
    }



}
